package com.example.recordingpen_datacollection.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author xg
 * @since 2023-11-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Device implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 设备id
     */
    @TableId(value = "dev_id", type = IdType.AUTO)
    private Integer devId;

    /**
     * 设备名称
     */
    private String devName;

    /**
     * 设备型号
     */
    private String devType;


    /**
     * 添加时间
     */
    @TableField(value = "uaddtime", fill = FieldFill.INSERT)
    private Date uaddtime;

    /**
     * 修改时间
     */
    @TableField(value = "altertime", fill = FieldFill.INSERT_UPDATE)
    private Date altertime;

    /**
     * 设备信息
     */
    private String message;

    /**
     * 记录次数次数
     */
    private Integer count;

    /**
     * 手机号码
     */
    private String phone;

    /**
     * 手机号码
     */
    private Integer loginId;


}
